#ifndef __OC_TiffWriter_H__
#define __OC_TiffWriter_H__

#include "GISDef.h"
#include "OCMain/StringUtil.h"
#include "OCMain/Vector.h"
#include "OCVolume/VolumeOptions.h"
#include "OCVolume/VolumeEncoder.h"

class GDALDriver;
namespace OCPP
{
	using namespace Volume;
	class _GISExport TiffWriter : public VolumeWriter
	{
	public:
		TiffWriter();
		~TiffWriter();

		virtual bool write(const VolumeGridData& ncGridData, const VolumeOptions& ncOptions);

		void test();

		void writeToFile(String fileName);

	private:
		GDALDriver* poDriver;
	};
}

#endif